﻿<%@taglib prefix="s" uri="/struts-tags"%>
<%
//if Request.cookies("admin")("AdminName") = "" then
//response.Redirect "Login.asp"
//end if
%>
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>机动处管理系统</title>
<style type="text/css">
.navPoint {COLOR: white; CURSOR: hand; FONT-FAMILY: Webdings; FONT-SIZE: 9pt}
.a2{BACKGROUND-COLOR: A4B6D7;}
</style>
</head>
<%
//select case Request("menu")
//case ""
//main
//case "top"
//top
//end select
%>
<% //sub top %>
<body leftmargin=0 topmargin=0 rightmargin=0>
<center>
<table style="BORDER-COLLAPSE: collapse" cellspacing=0 cellpadding=0 width="100%" border=0>
<tr>
      <td align=center width="100%" height=25 style="BACKGROUND-IMAGE: url(image/titlebg.gif); COLOR: #330099; font: 10.5pt"
><b>信息后台管理系统</b></td>
</tr>
</table>
</center>
</body>
<% //end sub %>
<//!!! 后台表头控制>
<%// sub main
%>
<body style="MARGIN: 0px" scroll=no>
<script>
if(self!=top){top.location=self.location;}
function switchSysBar(){
if (switchPoint.innerText==3){
switchPoint.innerText=4
document.all("frmTitle").style.display="none"
}else{
switchPoint.innerText=3
document.all("frmTitle").style.display=""
}}
</script>

<table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
  <tr>
    <td align="center" nowrap valign="middle" id="frmTitle">
    <iframe frameborder="0" id="carnoc" name="carnoc" scrolling=auto src="LeftTree.jsp" style="HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 180px; Z-INDEX: 2;">
    </iframe>
    </td>
    <td bgcolor="A4B6D7" style="WIDTH: 9pt">
    <table border="0" cellpadding="0" cellspacing="0" height="100%">
      <tr>
        <td style="HEIGHT: 100%" onClick="switchSysBar()">
        <font style="FONT-SIZE: 9pt; CURSOR: default; COLOR: #ffffff">
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <span class="navPoint" id="switchPoint" title="关闭/打开左栏">3</span><br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        屏幕切换 </font></td>
      </tr>
    </table>
    </td>
		<td style="WIDTH: 100%">
		<iframe frameborder="0" id="main" name="top" scrolling="yes" src="?menu=top" style="HEIGHT: 4%; VISIBILITY: inherit; WIDTH: 100%; Z-INDEX: 1">
		</iframe>       
		<iframe frameborder="0" id="main" name="main" scrolling="yes" <%//if Request.cookies("s8k")("From") = "0" then %><s:if test="#session.userGroup==0">src="../daily/index_xs.asp"</s:if><%//elseif Request.cookies("s8k")("From") <> "3" then%><s:elseif test="#session.userLevel==3">src="../BaseData/PlantformAccount_Search.html"</s:elseif><%//else%><s:else>src=""<%//end if %></s:else>
		 style="HEIGHT: 96%; VISIBILITY: inherit; WIDTH: 100%; Z-INDEX: 1">
		</iframe>
		</td>
  </tr>
</table>
<script>
  if(window.screen.width<'1024'){switchSysBar()}
</script>
</body>
<%
//end sub

//Function IsObjInstalled(strClassString)
//On Error Resume Next
//IsObjInstalled = False
//Err = 0
//Dim xTestObj
//Set xTestObj = Server.CreateObject(strClassString)
//If 0 = Err Then IsObjInstalled = True
//Set xTestObj = Nothing
//Err = 0
//End Function
%>
</html>